﻿@model IEnumerable<Article>

<div class="lastestNews">
    <div class="section-title">
        <h2>最新资读</h2>
    </div>
    @foreach (var post in Model)
    {

        <div class="box">
            <div class="row">
                <div class="col-sm-4">
                    <a href="@Url.Action("detail",new { id = post.Id})" class="thumb">
                        <img src="@post.Thumbnail" alt="@post.Title" />
                    </a>
                </div>
                <div class="col-sm-8">
                    <a href="@Url.Action("detail",new { id = post.Id})">
                        <h3 class="title">
                            @post.Title
                        </h3>
                        <div class="note">
                            <span class="pull-right"> <i class="iconfont icon-fire"></i>@post.ViewCount</span>
                            <span>
                                <i class="iconfont icon-time"></i> @post.Pubdate.ToShortDateString()
                            </span>
                            <span>作者：@post.Source </span>
                        </div>
                        <p>
                            @post.Summary
                        </p>
                    </a>
                </div>
            </div>
        </div>


    }



</div>
